package com.shwread.android.qysw.bean.task;

import java.io.Serializable;

/**
 * 分项bean
 */
public class SubItemBean implements Serializable {
    /**
     * 指数分项id
     */
    private int id;
    /**
     * 指数分项名称
     */
    private String indexName;
    /**
     * 指数类型   1=先锋指数 2=基础指数 3=底线指数
     */
    private String indexType;
    /**
     * 分类
     */
    private String kindName;
    /**
     * 分值
     */
    private int score;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getIndexName() {
        return indexName;
    }

    public void setIndexName(String indexName) {
        this.indexName = indexName;
    }

    public String getIndexType() {
        switch (indexType) {//1=先锋指数 2=基础指数 3=底线指数
            case "1":
                return "先锋指数";
            case "2":
                return "基础指数";
            case "3":
                return "底线指数";
            default:
                return "未知";
        }
    }

    public void setIndexType(String indexType) {
        this.indexType = indexType;
    }

    public String getKindName() {
        return kindName;
    }

    public void setKindName(String kindName) {
        this.kindName = kindName;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }
}